#依赖镜像名称和ID
FROM python:3.9
#指定镜像创建者信息
MAINTAINER yzk
#切换工作目录
RUN mkdir /soft
WORKDIR /soft
COPY ./requirements.txt /soft/requirements.txt
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
#CMD ["uwsgi", "-x", "./luffy.xml"]
CMD ["uwsgi", "./ending_framework.ini"]
#CMD ["python", "manage_pro.py", "runserver"]